home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 1611 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.1 KB

  1. Path: wanshu.stl.ibm.com!becker
  2. From: becker@wanshu.stl.ibm.com (Bill Becker)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: help encryption program
  5. Date: 15 Jan 1996 20:33:15 GMT
  6. Organization: ISSC Bocaraton News Server
  7. Distribution: world
  8. Message-ID: <4dedmb$psi@bocanews.bocaraton.ibm.com>
  9. References: <4dbb0o$dbm@jaring.my>
  10. NNTP-Posting-Host: wanshu.stl.ibm.com
  11.  
  12. In article <4dbb0o$dbm@jaring.my>, meimei@pl.jaring.my writes:
  13. |> Requirement :
  14. |> ==========
  15. |> 
  16. |> A encryption scheme is to interchange letters of the alphabet on a
  17. |> one-to-one basis. This can be accomplished with a transalation table
  18. |> for the 52 lowercase and uppercase letters.
  19. |> 
  20. |> Write a C program that implements such a scheme to encode text. The
  21. |> program must also have the option to decode text thst has been
  22. |> encoded. The user must select whether he wants to encode or decode the
  23. |> text and then type in the appropriate text.
  24. |> 
  25. |> Can anyone solve the above problem ?
  26. |> 
  27. Look at the book "Cryptography" by Bruce Schnier(sp? Sorry Bruce).
  28. In the appendix are a bunch of source listings. There's one in there
  29. called "Enigma." As in the crypto machine built by the Germans in WW-II.
  30.